home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / v cisle / sadanastroju / bookmark_previews-0.6.5-fx.xpi / chrome / content / managerOverlay.xul < prev    next >
Extensible Markup Language  |  2008-05-27  |  5KB  |  93 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE overlay [
  3.   <!ENTITY % stringsDTD SYSTEM "chrome://bookmarkpreviews/locale/strings.dtd">
  4.   %stringsDTD;
  5.   <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
  6.   %browserDTD;
  7. ]>
  8.  
  9. <!-- ***** BEGIN LICENSE BLOCK *****
  10.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  11.    -
  12.    - The contents of this file are subject to the Mozilla Public License Version
  13.    - 1.1 (the "License"); you may not use this file except in compliance with
  14.    - the License. You may obtain a copy of the License at
  15.    - http://www.mozilla.org/MPL/
  16.    -
  17.    - Software distributed under the License is distributed on an "AS IS" basis,
  18.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  19.    - for the specific language governing rights and limitations under the
  20.    - License.
  21.    -
  22.    - The Original Code is the Bookmarks Previews extension.
  23.    -
  24.    - The Initial Developer of the Original Code is
  25.    - John Marshall <JohnM555@gmail.com>.
  26.    - Portions created by the Initial Developer are Copyright (C) 2007
  27.    - the Initial Developer. All Rights Reserved.
  28.    -
  29.    - Contributor(s):
  30.    -   John Marshall <JohnM555@gmail.com>
  31.    - Alternatively, the contents of this file may be used under the terms of
  32.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  33.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  34.    - in which case the provisions of the GPL or the LGPL are applicable instead
  35.    - of those above. If you wish to allow use of your version of this file only
  36.    - under the terms of either the GPL or the LGPL, and not to allow others to
  37.    - use your version of this file under the terms of the MPL, indicate your
  38.    - decision by deleting the provisions above and replace them with the notice
  39.    - and other provisions required by the LGPL or the GPL. If you do not delete
  40.    - the provisions above, a recipient may use your version of this file under
  41.    - the terms of any one of the MPL, the GPL or the LGPL.
  42.    -
  43.    - ***** END LICENSE BLOCK ***** -->
  44.  
  45. <?xul-overlay href="chrome://bookmarkpreviews/content/albumview.xul"?>
  46. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  47. <?xml-stylesheet href="chrome://bookmarkpreviews/skin/bookmarkManager.css" type="text/css"?>
  48. <?xml-stylesheet href="chrome://bookmarkpreviews/skin/thumbview.css" type="text/css"?>
  49. <overlay id="bookmarkpreviewsOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  50.   <script src="chrome://bookmarkpreviews/content/managerOverlay.js" type="application/javascript;version=1.7"/>
  51.   <script src="chrome://bookmarkpreviews/content/previewServiceUtils.js"/>
  52.  
  53.   <menu id="helpMenu">
  54.     <menupopup id="menu_HelpPopup">
  55.       <menuitem id="create_previews"
  56.                 label="&createpreviews.label;"
  57.                 accesskey="&createpreviews.accesskey;"
  58.                 oncommand="BookmarksPreviewUtils.createPreviews();"/>
  59.       <menuseparator id="view-separator"/>
  60.       <menuitem id="detailsViewMenu" label="&viewmenu.details.label;" insertbefore="viewColumns" type="radio" name="view" oncommand="BookmarksPreviewUtils.onSelectView('details',event)" persist="selected checked"/>
  61.       <menuitem id="thumbsViewMenu" label="&viewmenu.thumbnails.label;" insertbefore="viewColumns" type="radio" name="view" oncommand="BookmarksPreviewUtils.onSelectView('thumbnails',event)" persist="selected checked"/>
  62.       <menu id="thumbsSize" label="&thumbnailsize.label;" insertbefore="viewColumns" disabled="true">
  63.         <menupopup id="thumbsSizePopup">
  64.           <menuitem label="&thumbsSizePopup.small.label;" type="radio" name="thumbsize" oncommand="ThumbView.changeSize(0);"/>
  65.           <menuitem label="&thumbsSizePopup.medium.label;" type="radio" name="thumbsize" oncommand="ThumbView.changeSize(1);"/>
  66.           <menuitem label="&thumbsSizePopup.large.label;" type="radio" name="thumbsize" oncommand="ThumbView.changeSize(2);"/>
  67.         </menupopup>
  68.       </menu>
  69.     </menupopup>
  70.   </menu>
  71.  
  72.   <toolbar id="command-toolbar" align="center">
  73.     <toolbarbutton id="back-button"
  74.                    class="toolbarbutton-1 chromeclass-toolbar-additional back-forward-buttons-ff2"
  75.                    oncommand="BookmarksPreviewUtils.back();"
  76.                    label="&backCmd.label;"
  77.                    accesskey="&backCmd.accesskey;"
  78.                    tooltiptext="&backButton.tooltip;"
  79.                    insertbefore="newbookmark"/>
  80.     <toolbarbutton id="forward-button"
  81.                    class="toolbarbutton-1 chromeclass-toolbar-additional back-forward-buttons-ff2"
  82.                    oncommand="BookmarksPreviewUtils.forward();"
  83.                    label="&forwardCmd.label;"
  84.                    accesskey="&forwardCmd.accesskey;"
  85.                    tooltiptext="&forwardButton.tooltip;"
  86.                    insertbefore="newbookmark"/>
  87.   </toolbar>
  88.  
  89.   <toolbar id="bookmarks-search">
  90.     <vbox id="albumview-container" insertafter="search-box"/>
  91.   </toolbar>
  92. </overlay>
  93.